<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../layui/js/global.js"></script>
    <script src="../../layui/js/sys/cart.js"></script>
    <script src="../../layui/js/jquery-3.1.1.min.js"></script>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <script src="../../layui/layui.js"></script>
    <style type="text/css">
        .layui-table-cell{
            text-align:center;
            height: auto;
            white-space: normal;
        }
        .layui-table img{
            max-width:150px}
    </style>
</head>
<body>
<div class="layui-bg-gray" style="margin-top: 15px; padding:15px;">
    <table id="cartTable" class="layui-table-cell" lay-filter="cartTable"></table>
</div>
<!--<div class="layui-bg-gray" style="margin-top: 15px; padding:15px;">-->
<!--    <table id="cartTable" lay-filter="cartTable" lay-data="{id: 'idTest'}" class="layui-table-cell"></table>-->
<!--&lt;!&ndash;<table id="allpriceTable" lay-filter="allpriceTable" ></table>&ndash;&gt;-->
<!--</div>-->
<script type="text/html" id="picture">
    <img src="http://localhost:8090/sys/games/{{d.photo}}" style="max-width:150px"/>
</script>
<script type="text/html" id="delByid">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-warm layui-btn-xs" lay-event="delete" style="width:100px;">删除该物品</button>
    </div>
</script>
<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="clear">结算购物车</button>
    </div>
</script>


<script>
    layui.use(['layer','table'], function(){
        var layer = layui.layer;
        var table= layui.table ;

        initTable(table) ;
    });
</script>
<script>
    var layuiSession =  sessionStorage.getItem("user");
    var session = JSON.parse(layuiSession);

</script>
</body>
</html>